package com.lottery.game.core.modules.mapper.v2;

import com.lottery.game.common.base.mapper.CommonMapper;
import com.lottery.game.core.modules.entity.game.GameGame;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface GameGameMapper extends CommonMapper<GameGame> {

    GameGame findLastGameIssueByTicketId(@Param("ticket") Integer ticket);

    GameGame findLastGameIssueByIsNotNullParam(@Param("gameGame") GameGame gameGame);
}
